package com.kingdee.eas.customer.wh.facade;

import org.apache.log4j.Logger;

import com.alibaba.fastjson.JSON;
import com.kingdee.bos.*;

import java.lang.String;

import com.kingdee.eas.common.EASBizException;
import com.kingdee.eas.customer.wh.wtd.api.*;
import com.kingdee.eas.customer.wh.wtd.vo.*;

public class WDTInterfaceFacadeControllerBean extends AbstractWDTInterfaceFacadeControllerBean
{
    private static Logger logger =
        Logger.getLogger("com.kingdee.eas.customer.wh.facade.WDTInterfaceFacadeControllerBean");
    
	@Override
	protected String _purchaseOrderPush(Context ctx, String jsonStr)
			throws BOSException, EASBizException {
		return PurchaseOrderApi.purchaseOrderPush(ctx, JSON.parseObject(jsonStr, PurchaseOrderVo.class));
	}

	@Override
	protected String _purchaseOrderQuery(Context ctx, String jsonStr)
			throws BOSException, EASBizException {
		return PurchaseOrderApi.purchaseOrderQuery(ctx, JSON.parseObject(jsonStr, PurchaseOrderQueryVo.class));
	}

	@Override
	protected String _stockinOrderPush(Context ctx, String jsonStr)
			throws BOSException, EASBizException {
		return StockinOrderApi.stockinOrderPush(ctx, JSON.parseObject(jsonStr, StockinOrderVo.class));
	}

	@Override
	protected String _stockinOrderQuery(Context ctx, String jsonStr)
			throws BOSException, EASBizException {
		return StockinOrderApi.stockinOrderQuery(ctx, JSON.parseObject(jsonStr, StockinOrderQueryPurchaseVo.class));
	}

	@Override
	protected String _stockoutOrderPush(Context ctx, String jsonStr)
			throws BOSException, EASBizException {
		return StockoutOrderApi.stockoutOrderPush(ctx, JSON.parseObject(jsonStr, StockoutOrderVo.class));
	}

	@Override
	protected String _stockTransferPush(Context ctx, String jsonStr)
			throws BOSException, EASBizException {
		return StockTransferApi.stockTransferPush(ctx, JSON.parseObject(jsonStr, StockTransferVo.class));
	}

	@Override
	protected String _vipStockinoutOrderPush(Context ctx, String jsonStr)
			throws BOSException, EASBizException {
		return VipStockinoutOrderApi.vipStockinoutOrderPush(ctx, JSON.parseObject(jsonStr, VipStockoutOrderVo.class));
	}
    
    
	
	
}